package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yl.auth.entity.Renwujiaojie;
import com.yl.auth.mapper.RenwujiaojieMapper;
import com.yl.auth.service.RenwujiaojieService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ln
 * @since 2023-07-12
 */
@Service
public class RenwujiaojieServiceImpl extends ServiceImpl<RenwujiaojieMapper, Renwujiaojie> implements RenwujiaojieService {
    @Resource
    private RenwujiaojieMapper renwujiaojieMapper;
    @Override
    public Page<Renwujiaojie> getrenwujiaojie(Page<Renwujiaojie> iPage, String tjname, String jsname, String phone, String tjtime) {
        return renwujiaojieMapper.getrenwujiaojie(iPage,tjname,jsname,phone,tjtime);
    }

    @Override
    public List<Renwujiaojie> getByIdxiangqing(Integer id,Page<Renwujiaojie> iPage) {
        return renwujiaojieMapper.getByIdxiangqing(id,iPage);
    }
}
